import requests

def get_cookie(proxy):
    headers = {
        "Accept": "*/*",
        "Accept-Language": "zh-CN,zh;q=0.9",
        "Connection": "keep-alive",
        "Referer": "https://www.jc35.com/st230093/product_1694577.html",
        "Sec-Fetch-Dest": "script",
        "Sec-Fetch-Mode": "no-cors",
        "Sec-Fetch-Site": "same-site",
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0",
        "sec-ch-ua": "\"Not)A;Brand\";v=\"8\", \"Chromium\";v=\"138\", \"Microsoft Edge\";v=\"138\"",
        "sec-ch-ua-mobile": "?0",
        "sec-ch-ua-platform": "\"Windows\""
    }
    # cookies = {
    #     "mtcached_mtsession_aqvd4j5ffhwotsmrdh5ahnna": "10.115.3.126:9720"
    # }
    url = "https://chat.jc35.com/chat/KFCenterBox/230093"
    response = requests.get(url, headers=headers,proxies=proxy)
    cookie = response.cookies.get_dict()

    # print(response.text)
    if cookie:
        return cookie
